//
// Created by Administrator on 2020/7/16 0016.
//
#include "string"
#ifndef LIBRARY_BOOK_H
#define LIBRARY_BOOK_H
using namespace std;

class Book
{
private:
    int m_nBookID;
public:
    int getMNBookId() const;

    void setMNBookId(int mNBookId);

    const string &getMStrBookName() const;

    void setMStrBookName(const string &mStrBookName);

    const string &getMStrAuthor() const;

    void setMStrAuthor(const string &mStrAuthor);

    const string &getMStrIsbn() const;

    void setMStrIsbn(const string &mStrIsbn);

    const string &getMStrPub() const;

    void setMStrPub(const string &mStrPub);

    const string &getMInDate() const;

    void setMInDate(const string &mInDate);

    int getMNTotalNum() const;

    void setMNTotalNum(int mNTotalNum);

    int getMNLeftNum() const;

    void setMNLeftNum(int mNLeftNum);

private:
    string m_strBookName;//书名
    string m_strAuthor;//作者
    string m_strISBN;//ISBN
    string m_strPub;//出版社
    string m_inDate;//入库日期
    int m_nTotalNum;//总量
    int m_nLeftNum;//余量
public:
    Book();
    Book(int mNBookId,
    const string &mStrBookName,
    const string &mStrAuthor,
    const string &mStrIsbn,
    const string &mStrPub,
    const string &mInDate,
    int mNTotalNum,
    int mNLeftNum
    );

};


#endif //LIBRARY_BOOK_H
